<?php 
/**
 * WetChat Testing 
 * 
 * @author Norman
 *
 */
class WebchatController extends Zend_Controller_Action
{
	

    public function init(){

    }

    /**
     * this will only show logo nothing else
     */
    public function indexAction(){
    	
    	$this->_helper->layout->disableLayout();
    	
    	$wechatObj = new Model_Message_Webchat();
    	if (!isset($_GET['echostr'])) {
    		$wechatObj->responseMsg();
    	}else{
    		$wechatObj->valid();
    	}

	}

	



}
?>